package com.xc.hotelmgr.consumermq.utils;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@Data
@Setter
@Getter
public class ComResult implements Serializable {
    private static final long serialVersionUID = 1L;
    private int code;

    private String message;

    public ComResult() {}

    public ComResult(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
